package com.atguigu.excel.excelRead.excelWrite;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.event.AnalysisEventListener;
import lombok.Data;

/**
 * @Auther: fangshicai
 * @Date: 2022/1/24 22:26
 * @Description:
 */
@Data
public class DataDemo   {

//    要加上序号
    @ExcelProperty(value = "学生学号",index = 0)
    private Integer sno;

    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;

}
